package ooday02;

public class ExtendsTest {
    public static void main(String[] args) {
        Student zs=new Student("张三",33," 张家口","326","2302");

        zs.eat();
        zs.sayHi();
        zs.sleep();
        zs.study();
        Doctor ls = new Doctor("李四", 55, "安徽", "男护士");
        ls.sleep();
        ls.sayHi();
        ls.eat();
        ls.cut();

        Teacher ww=new Teacher("王五",13,"秦皇岛",150);

        ww.sleep();
        ww.sayHi();
        ww.eat();
        ww.teach();

    }
}
